﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.system.Entitys;

/// <summary>
/// 入库单明细实体.
/// </summary>
[SugarTable("wms_busi_in_task_detail", "入库单明细")]
[Tenant(ClaimConst.TENANTID)]
public class WmsBusiInTaskDetailEntity : CLDEntityBase
{

    /// <summary>
    /// 主表Id.
    /// </summary>
    [SugarColumn(ColumnName = "F_TaskId", ColumnDescription = "主表Id")]
    public string TaskId { get; set; }

    /// <summary>
    /// 入库单号.
    /// </summary>
    [SugarColumn(ColumnName = "F_OrderNo", ColumnDescription = "入库单号")]
    public string OrderNo { get; set; }

    /// <summary>
    /// 入库单别.
    /// </summary>
    [SugarColumn(ColumnName = "F_OrderTypeNo", ColumnDescription = "入库单别")]
    public string OrderTypeNo { get; set; }

    /// <summary>
    /// 工单单别.
    /// </summary>
    [SugarColumn(ColumnName = "F_WorkOrderTypeNo", ColumnDescription = "工单单别")]
    public string WorkOrderTypeNo { get; set; }

    /// <summary>
    /// 工单单号.
    /// </summary>
    [SugarColumn(ColumnName = "F_WorkOrderNo", ColumnDescription = "工单单号")]
    public string WorkOrderNo { get; set; }

    /// <summary>
    /// 物料id.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialId", ColumnDescription = "物料id")]
    public string MaterialId { get; set; }

    /// <summary>
    /// 物料code.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialCode", ColumnDescription = "物料code")]
    public string MaterialCode { get; set; }

    /// <summary>
    /// 物料名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialName", ColumnDescription = "物料名称")]
    public string MaterialName { get; set; }

    /// <summary>
    /// 批次号.
    /// </summary>
    [SugarColumn(ColumnName = "F_BatchNo", ColumnDescription = "批次号")]
    public string BatchNo { get; set; }

    /// <summary>
    /// 规格.
    /// </summary>
    [SugarColumn(ColumnName = "F_Specification", ColumnDescription = "规格")]
    public string Specification { get; set; }

    /// <summary>
    /// 数量.
    /// </summary>
    [SugarColumn(ColumnName = "F_Qty", ColumnDescription = "数量")]
    public decimal Qty { get; set; }

    /// <summary>
    /// 单重.
    /// </summary>
    [SugarColumn(ColumnName = "F_SingleWeight", ColumnDescription = "单重")]
    public decimal SingleWeight { get; set; }

    /// <summary>
    /// 袋数.
    /// </summary>
    [SugarColumn(ColumnName = "F_BagSum", ColumnDescription = "袋数")]
    public decimal BagSum { get; set; }

    /// <summary>
    /// 袋.
    /// </summary>
    [SugarColumn(ColumnName = "F_Bag", ColumnDescription = "袋")]
    public string Bag { get; set; }

    /// <summary>
    /// 包装数.
    /// </summary>
    [SugarColumn(ColumnName = "F_Packages", ColumnDescription = "包装数")]
    public decimal Packages { get; set; }

    /// <summary>
    /// 业务组.
    /// </summary>
    [SugarColumn(ColumnName = "F_Business", ColumnDescription = "业务组")]
    public string Business { get; set; }

}